import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'

Vue.use(VueRouter)
Vue.use(VueResource)

const router = new VueRouter()

router.map({
    '/index': {
        component: App
    }
})

router.redirect({
    '*': '/index'
})

router.start(App, '#app')

